package com.lzh.service;

import com.lzh.consumer.IdempotentEnum;
import com.lzh.domain.entity.UserBackpack;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户背包表 服务类
 * </p>
 *
 * @author lzh
 * @since 2024-09-07
 */
public interface UserBackpackService extends IService<UserBackpack> {

    List<UserBackpack> powerBadgeListByUid(Long uid, List<Long> collect);


    void idempotentItem(Long uid, Long itemId, IdempotentEnum idempotentEnum, String businessId);

    UserBackpack getBackpackByIdempotent(String idempotent);
}
